body {
  font: 12px "Microsoft Yahei", Tahoma, Simsun;
  background: #fff;
  text-align: center;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  font-size: 12px;
  color: #333;
}
body > div {
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}
div,
form,
ul,
ol,
li,
span,
p {
  margin: 0;
  padding: 0;
  border: 0;
}
img,
a img {
  border: 0;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: normal;
}
ul,
ol,
li {
  list-style: none;
}
table,
td,
input {
  font-size: 12px;
  padding: 0;
} /* 默认链接颜色 */
a {
  outline-style: none;
  color: #333;
  text-decoration: none;
}
a:hover {
  color: #c00;
  text-decoration: underline;
}

/* 头部 */
/* 左边 */
#headerTop {
  width: 100%;
  background: #f5f5f5;
  height: 28px;
  border-bottom: 1px solid #ddd;
}
#headerTop #headerTleft ul {
  margin-left: 40px;
  background-color: #c00;
  line-height: 28px;
  color: 14px;
}
#headerTop #headerTleft ul li,
#headerTop #headerTright li {
  float: left;
}
#headerTop #headerTleft ul .send div {
  float: left;
}
#headerTop #headerTleft ul li:nth-child(1) {
  background: url(https://static.epetbar.com/static_web/pc/dist/images/background/epetbrand.png)
    no-repeat;
  background-position: left center;
}
#headerTop #headerTleft ul li:nth-child(1) a {
  margin-left: 20px;
  margin-right: 10px;
}
#headerTop #headerTleft ul li:nth-child(1) a:hover {
  color: blue;
  text-decoration: none;
}
#headerTop #headerTleft ul li:nth-child(3) a:hover {
  color: blue;
  text-decoration: none;
}
#headerTop #headerTleft ul li:nth-child(3) {
  background-image: url(https://static.epetbar.com/static_web/pc/dist/images/background/bg.png);
}
#headerTop #headerTleft ul li:nth-child(3) {
  background-position: -4px -425px;
  margin-left: 18px;
}
#headerTop #headerTleft ul li:nth-child(3) a {
  margin-left: 27px;
}

/* 右边 */
#headerTop #headerTright {
  line-height: 28px;
  margin-left: 488px;
  float: left;
}
#headerTop #headerTright li {
  margin: 0 5px;
}
#headerTright li:nth-child(7) a {
  color: red;
  line-height: 28px;
}
#headerTop #headerTright li a:hover {
  color: blue;
  text-decoration: none;
}
#headerTop #headerTright li:nth-child(3) {
  margin-left: 23px;
}
#headerTop #headerTright li:nth-child(4) {
  margin-left: 19px;
}
#headerTop #headerTright li:nth-child(5) {
  margin-left: 18px;
}
#headerTop #headerTright li:nth-child(6) {
  margin-left: 15px;
}

#headerTop #headerTright .cart i{
  width: 14px;
  height: 14px;
  display: inline-block;
  background: url(../img/bg.png)
    no-repeat -290px -44px;
}

#headerTop #headerTright .epet i{
  width: 14px;
  height: 14px;
  display: inline-block;
  background: url(../img/bg.png)
  no-repeat -315px -45px;
}

#headerTop #headerTright .collect i{
  width: 14px;
  height: 14px;
  display: inline-block;
  background: url(../img/bg.png)
  no-repeat -354px -45px;
}

#headerTop #headerTright .phone i{
  width: 14px;
  height: 14px;
  display: inline-block;
  background: url(../img/bg.png)
  no-repeat -337px -45px;
}
#headerTright li,#headerTleft li{font-size:12px;
                  color:#444}

/* 骨头图标 */
.bone{display:inline-block;
     width:16px;
    height:18px;
    background:url(../img/bg2.png) no-repeat -36px -1279px;
    transition: all 0.2s;                         /*过渡时间为0.6秒*/
   /* 旋转参考点: */
   transform-origin: center center;           /*默认值*/
  }



.bone:hover{transform:rotate(360deg)}

/* 图标图标 */

/* 第二部分 */

/* 搜索框 */
.headSec {
  padding-top: 25px;
  height: 125px;
}

.headStop .logo {
  height: 94px;
  width: 268px;
  margin-top: -10px;
  float: left;
}
.headStop .logo .logoa {
  display: inline-block;
  width: 268px;
  height: 94px;
  background: url(https://static.epetbar.com/static_web/pc/dist/images/background/epet-logo.png)
    no-repeat 0 -12px;
  margin-top: 7px;
  margin-right: 20px;
}

form {
  float: left;
}
.formBox{
  padding-top: 9px;
  margin-left: 86px;
}
form .searchbox {
  display: inline-block;
  width: 386px;
  border: 2px #74be5f solid;
  height: 30px;
  text-indent: 1rem;
  margin-bottom: 5px;
}
form button {
  width: 70px;
  height: 34px;
  background: #74be5f;
  color: white;
  border: 2px solid #74be5f;
}
form .hotword {
  margin-top: 5px;
}
form .hotword li {
  float: left;
  margin-left: 5px;
  margin-right: 5px;
}
form .hotword li a {
  color: #999;
  text-decoration:none;
  font-size:10px;
}

form .hotword li a:nth-child(3):hover,
form .hotword li a:nth-child(5):hover,
form .hotword li a:nth-child(6):hover
{color:#444
}


form .hotword li a span {
  color: red;
}
/* 搜索列表固定在搜索框下面 */

.searchList{
position:absolute;
top:98px;
left:361px;
background:white;
width:388px;
border:1px solid #cecece;
z-index:999999;
border-top:none
}

.searchList li{

  height:30px;
  font-size:12px;
  font-weight:bold
}

.headStop .cartlogo {
  float: right;
  width: 130px;
  height: 39px;

  margin: 14px 47px;
  background: url(https://static.epetbar.com/static_web/pc/dist/images/background/shopping-cart.gif)
    no-repeat left center;
}

.headStop .cartlogo a {
  margin-left: 28px;
  line-height: 39px;
}
.headSec .nav {
  float: left;
  width: 100%;
  height: 40px;
}

.headSec .nav .navmenu {
  height: 35px;
  margin-left: 36px;
  line-height: 35px;
  color: #444;
  font-size: 16px;
  text-align: center;
  margin-top: 14px;
  float: left;
}

.headSec .nav .navmenu div:nth-child(1) {
  width: 112px;
  float: left;
  background-color: white;
  border: 1px solid #cecece;
}

.headSec .nav .navmenu div:nth-child(2) {
  width: 112px;
  float: left;
  background-color: white;
  border: 1px solid #cecece;
  border-left: none;
}

.nav .navlist {
  float: left;
  margin-left: 27px;

  margin-top:17px;
}

.navlist li {
  height: 40px;

  float: left;
  margin-right: -14px;
  line-height: 40px;
}
.nav li a {
  float: left;
  display: inline;
  line-height: 34px;
  font-size: 16px;
  color: #000;
  font-weight: 700;
  padding: 0 20px;
  text-decoration: none;
  outline: 0;
  height: 34px;
}


.navlist li a:hover {
  color: #74be5f;
}

/* 轮播区域 */
#swiper-container{

  margin-left:-50px
}
/* 定位到轮播区域的隐藏菜单 */
.xuanfu1 .dog,
.xuanfu1 .cat {
  width: 227px;
  height: 80px;
  display: inline-block;

  background: url(https://static.epetbar.com/static_web/pc/dist/images/background/new_petcate.png)
    no-repeat center 20px;
}


.xuanfu1 .cat {
  width: 227px;
  height: 60px;

  background: url(https://static.epetbar.com/static_web/pc/dist/images/background/new_petcate.png)
    no-repeat center -60px;
}

.dogin p span,
.catin p span {
  color: red;
}

.dogin p .catin p {
  margin-top: 20px;
}

.dogin a,
.catin a {
  display: block;

  border: 1px solid #aeaeae;
  color: #aeaeae;
  width: 118px;
  height: 28px;
  line-height: 28px;
  margin: 20px auto;
  border-radius: 3%;
}

.catin a {
  border: 1px solid #e74085;
}

.petFood li a {
  display: block;

  width: 113px;
  height: 80px;
  line-height: 80px;
  background: white;
  float: left;
  border-bottom: 1px #cecece dashed;
  color: #444;
  text-decoration: none;
  font-size: 14px;
}
.petFood li a:nth-child(9),
.petFood li a:nth-child(10) {
  border: none;
}

/* 右侧栏区域 */

.thirdR {
  width: 228px;
  height: 400px;
 
  float: left;
  margin-top:5px;
  margin-left: -50px;
}

.thirdR1, .thirdR2, .thirdR3{
  perspective: 1000px;

  perspective-origin: 50% 50%;

}

.thirdR .thirdR1 img,
.thirdR .thirdR2 img,
.thirdR .thirdR3 img {
  width:228px;
  height: 133px;
}
.thirdR .thirdR1 img,
.thirdR .thirdR2 img,
.thirdR .thirdR3 img{
  transform-style: preserve-3d;
  transition: all 0.4s ease-out;
 
}

.thirdR .thirdR1 img:hover,
.thirdR .thirdR2 img:hover,
.thirdR .thirdR3 img:hover{
 transform:translate(-10px)
}



/* 商品列表页 */

.list {
  width: 100%;
 float: left;
  margin-top: 30px;
}
.list1 .list1Top .list1Toplogo {
  display: block;
  width: 30px;
  height: 30px;
  margin-left: 34px;
  float: left;
  background: url(https://static.epetbar.com/static_web/pc/dist/images/background/cateicon/cate_5.png)
    no-repeat;
}
.list1Top {
  line-height: 30px;
  height: 32px;
}
.list1Top div {
  padding-top: 2px;

  margin-left: 15px;
  float: left;
  font-size: 20px;
}

/* 列表区 */

.list1product {
  padding-top: 5px;
}

/* 列表区左侧 */
.list1product-left {
  position: relative;
}

.list1product-left img {
  float: left;
  margin-left: 31px;
}
.foodstyle {
  width: 328px;
  height: 178px;
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  bottom: -477px;
  left: 32px;
}

.foodstyle .hotkind {
  height: 50px;
  margin-top: 14px;
  color: #666;
}

.foodstyle .hotkind span {
  margin-left: 5px;
  height: 27px;
  margin-right: 5px;
}

.foodstyle .hotkind i {
  display: inline-block;
  width: 27px;
  height: 27px;
  background: url(https://static.epetbar.com/static_web/pc/dist/images/background/index-ico.png)
    no-repeat -113px -163px;
}
.foodstyle .hotkind .hot {
  font-size: 18px;
}

.hotstyle {
  width: 100%;
  height: 115px;
}
.hotstyle li {
  width: 93px;
  height: 24px;
  line-height: 24px;
  background: white;
  margin: 7px 8px;
  float: left;
  font-size: 12px;
  border-radius: 30px;
}
.hotstyle li a:hover {
  color: blue;
  text-decoration: none;
}
#layui-tab {
  width: 902px;
  height: 509px;
  background: white;
  float: right;
  margin-top: -40px;
}

.layui-tab-title {
  margin-left: 562px;
}
#layui-tab-content {
  border-top: 1px solid #74be5f;
  padding-top: 0;
}
.layui-tab-title li {
  border: 1px solid #cecece;
  border-bottom:none;
}
.layui-tab-item .layui-tab-item-top {
  width: 820px;
  height: 299px;
 
  
}
.layui-tab-item .layui-tab-item-bottom {
  width: 870px;
  height: 175px;
}
.layui-tab-item-top-left {
  float: left;
  width: 389px;
  height: 298px;
  border: 1px solid #cecece;

  border-top:none;
  position: relative;
}
/* 父元素添加景深 */
.layui-tab-item-top-left a,
.layui-tab-item-top-right a,
.topMove{

perspective:1000px;perspective-origin:50% 50%

}
/* 图片本身设置 */

.layui-tab-item-top-left img,
.layui-tab-item-top-right img,
.topMove img{
  transform-style:preserve-3d;
  transition:all 0.5s ease-out
}

/* 鼠标经过图片时向左移动 */


.layui-tab-item-top-left img:hover,
.layui-tab-item-top-right img:hover,
.topMove img:hover{

  transform:translate(-5px)

}







.layui-tab-item-top-left img {
  width: 389px;
  height: 298px;
}
.layui-tab-item-top-right {
  float: right;
  width: 429px;
  height: 300px;
  position: relative;
}
.layui-tab-item-top-right a {
  display: block;
  width: 429px;
  height: 149px;
  position: relative;

  border-bottom: 1px solid #cecece;
}
#lianjie {
  position: relative;
}

.addfont {
  position: absolute;
  top: 30px;
  left: 10px;
  z-index:9999;
}
.addfont p:nth-child(1) {
  font-size: 18px;
  margin-bottom: 10px;
}

.addfont p:nth-child(2) {
  color: red;
}
.layui-tab-item-bottom a {
  display: block;
  float: left;
  width: 289px;
  border-right: 1px solid #cecece;
  position: relative;
}
.layui-tab-item-bottom .addfont {
  position: absolute;
  top: 30px;
  left: 30px;
}
.layui-tab-item-bottom img {
  width: 289px;
}
.brands-ul {
  height: 100px;
  float: left;
  margin-left: 31px;
}
.brands-ul li {
  width: 149px;
  border: 1px solid #cecece;
  float: left;
  height: 60px;
  padding-top: 10px;
}

.brands-ul li img {
  width: 100px;
  height: 49px;
}
.brands-ul li:nth-child(1),
.brands-ul li:nth-child(2),
.brands-ul li:nth-child(3),
.brands-ul li:nth-child(4),
.brands-ul li:nth-child(5),
.brands-ul li:nth-child(6),
.brands-ul li:nth-child(7) {
  border-right: none;
}
/* 注册页面 */
.registerbox,
.loginbox {
  width: 100%;
  height: 802px;
  background: black;
  opacity: 0.5;
  position: fixed;
  margin-top: -180px;
  z-index: 200;
  display: none;
}

.registermain,
.loginmain {
  width: 400px;
  height: 400px;
  background: white;
  border-radius: 30px;
  position: fixed;

  top: 13%;
  left: 33%;
  opacity: 1;
  display: none;
}

.registermain .registertitile,
.loginmain .logintitile {
  height: 30px;
  font-size: 18px;
  margin: 45px auto;
}

.registermain .registertitile p,
.loginmain .logintitile p {
  display: inline-block;
  margin: 0 33px;
}

.username1,
.password1 {
  width: 300px;
  height: 40px;
  border-radius: 30px;
  border: 1px solid #cecece;
  margin-bottom: 50px;
  text-indent: 2rem;
}

.registerbutton,
.loginbutton {
  width: 300px;
  height: 40px;
  border-radius: 30px;
  border: 1px solid #cecece;
  margin: 0 auto;
  text-align: center;
  background: #999;
  color: white;
}
/* 右侧的黑色边框固定早侧边栏 */
.rtBar{

  width:33px;
  height:800px;
  background:#666;
  position:fixed;
  top:0;
  right:0
}




/* 底部页面 */
.footerTopList{
  width:1200px;
  margin:0 30px;
  float:left;
  height:75px;
  background:#f5f5f5;
  border-bottom:1px solid #cecece;
}

.footerTopList li{
  float:left;
  height:65px;
  line-height:65px;
  font-size:15px;
  font-weight:bold;
  height:61px;
  line-height:61px;
  width:175px;
  margin-right:25px;
  
}
.footerTopList li a{display:inline-block;
                   height:61px;
                   line-height:61px;
                   float:right;
                   margin-left:40px;
                  }


.footBg b{display:inline-block;
  width:65px;
  height:61px;
  background:url(../img/logo.png) no-repeat 1px -1px
}
.centerBox{


  width:1200px;
  height:150px;
  background:#f5f5f5;
  margin:35px 35px;

  float:left;

}
.centerBox div{float:left}
.centerBox .f1{width:105px;
              height:99px;
              background:url(../img/dog_phone.gif) no-repeat center center
         }
.centerBox .f2
{
  width:228px;
  height:160px;

  margin-left:20px;
  color:#666;
}
.centerBox .f2 h4{
  font-size:15px;
  font-weight:bold;
  text-align: left;
  margin-bottom:18px;
}
.centerBox .f2  p{
  text-align: left;
  font-size:20px;
   margin-bottom:10px
}
.centerBox .f2  span{font-size:10px;
          }

.centerBox .f3{
  width:180px;
  height:160px;
float:left;
color:#666;
margin-left:50px;

}
.centerBox .f3 p{
  font-size:15px;
  font-weight:bold;
  margin-bottom:18px;
}
.centerBox .f4{


  margin-left:101px;
}
.centerBox .f4 p{font-size:12px;
                 color:#333}

.footerBottom{



  width:1220px;
  height:200px;
  
  float:left;
  
}    

.bottom1 ul{margin:20px 120px;}
.bottom1 li{float:left;
           
           margin:20px 10px;
         }
.bottom2{

  margin:0 150px;

  float:left;
}
.bottom2 img{

  margin:10px 20px
}

.bottom3 ul{
font-size:12px;
color:#444;
margin:25px 50px;
float:left}

.bottom3 li{float:left;
           margin-left:10px;}

.myMenu{
display:none;
 width:80px;
 height:130px;
  position:absolute;
  top:28px;
  right:221px;
  background:white;
  border:1px solid #aeaeae;
  font-size:12px;
  box-shadow:5px 5px 3px 3px #444;
} 
.myMenu li{

margin:10px 0;
}

.myMenu a{text-decoration:none;}
.myMenu a:hover{color:blue}
.myCollect{

  box-shadow:5px 5px 3px 3px #444;
  width:90px;
  height:35px;
  position:absolute;
  top:29px;
  right:133px;
  border:1px solid #cecece;
  line-height:35px;
  display:none

}

.myPhone{
  width:100px;
  height:100px;
  position:absolute;
  top:28px;
  right:65px;
  display:none;
  

}
.myPhone img{width:80px;
  height:80px;
  }

  .myCollect li,
  .myMenu li{
list-style:georgian


  }

  .show{


    width:150px;
    height:50px;
    
    position:absolute;
    top:4px;
    right:452px;
    display:none;
    font-size:12px;
    color:#444;
  }